package com.guodu.service;

import java.util.List;

import com.guodu.entity.Filenotice;
import com.guodu.entity.Noticemanager;
import com.guodu.entity.NoticemanagerUnits;
import com.guodu.entity.Units;
import com.guodu.vo.NoticemanagerQueryVo;
import com.guodu.vo.NoticemanagerVo;

public interface NoticemanagerService {

	long findSizeByVo(NoticemanagerQueryVo nqv, Units units,String fUnitName);

	List<NoticemanagerVo> findByVo(NoticemanagerQueryVo nqv, Units units,
			int curPage, int pageSize,String fUnitName);

	String save(Noticemanager noticemanager);

	Noticemanager findById(String purchaseId,String flag,Units units);

	void saveFile(Filenotice filenotice);

	void delByIds(String[] delIds);

	List<Filenotice> findFile(String noticeFile);
	
	Noticemanager findByUnits(String unitsId);
	
	void saveNoticeUnits(List<NoticemanagerUnits> nus);

}
